package Practica

class CurrentController {

     
    
    def index() {
        
    
    redirect (action:"current") 
    }
    def current = {
        def trips = Trip.list()
        
        [trips:trips]
    }
}
